using System;
using System.Threading;

namespace BassMati.Server
{
	/// <summary>
	/// Summary description for Class1.
	/// </summary>
	class Application
	{
		/// <summary>
		/// The main entry point for the application.
		/// </summary>
		[STAThread]
		static void Main(string [] args)
		{
			Server server = new Server( );
			server.Start();
			Console.WriteLine ( "Press enter to stop ths server." );
			Console.ReadLine();
			server.Stop( );
			Console.WriteLine( "Application stopped. Press enter." );
			Console.ReadLine();
		}
	}
}
